{extends file="./main.tpl"}
{block name=head}
<script type="text/javascript">
$(document).ready(function() {
  $('#branchId').focus();
});	

function myFunction()
{
  if(confirm("You Want To Remove This Record")== true)
	{
		return true;
	}
	else
	{
		return false;
	}
}
</script>
{/block}
{block name=body}
{if $dataFound == 1}
	<table align="center" border="2" cellpadding="2" cellspacing="2" width="" >
	<tr>
	  <th class="table1" align="right">Record Not Found !</th>
	</tr>
	</table>
{/if}

<form name="form1" action="cashMemo.php" method="post">
<table align="center" border="2" cellpadding="2" cellspacing="2" width="" >
<tr>
  <td align="center" class="table1" colspan="16"><b>Cash Memo</b></td>
</tr>
<tr>
	<td align="center" class="table2">FROM
    <select name="branchId" id="branchId">
      {html_options values=$branchArray.branchId output=$branchArray.branchName}
    </select>
  </td>
  <td class="table2" align="center" colspan="3" >Lr. No.
    <input type="text" name="lrNo" id="lrNo" required />
  </td>
  <td class="table2">
    <input type="submit" name="go" id="go" value="Go !" />
  </td>
</tr>
</table>
</form>
{/block}